package com.group.Enity;

import lombok.Data;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;
@Data
@Component
@Scope("prototype")
public class Owner {
    private int id;
    private String username = "";
    private String tel = "";
    private String sex = "";
    private String identity = "";
    private int house_id;
    private String remarks = "";
    private String password = "";

    @Autowired
    private House house = new House();

}
